package vip.xiaonuo.supplier.modular.finance.settlementproject.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 结算项目编辑参数
 *
 * @author Mr.wu
 * @date  2025/04/10 09:59
 **/
@Getter
@Setter
public class SupplierSettlementProjectEditParam {

    /** 项目ID */
    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "id不能为空")
    private String id;

    /** 项目编码 */
    @Schema(description = "项目编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "projectCode不能为空")
    private String projectCode;

    /** 项目名称 */
    @Schema(description = "项目名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "projectName不能为空")
    private String projectName;

    /** 项目类型（0-收入,1-支出） */
    @Schema(description = "项目类型（0-收入,1-支出）", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "projectType不能为空")
    private String projectType;

    /** 备注 */
    @Schema(description = "备注")
    private String projectRemark;

    /** 数据归属 */
    @Schema(description = "数据归属")
    private String companyId;

}
